package com.ve.s2g.pojo

data class Project(
    var id: Int,
    var name: String,
    var svnTrunkPath: String,
    var svnHotfixPath: String,
    var gitUrl:String,
    var gitNameSpace:String

) {
    constructor(name: String) : this(-1,name, "", "", "", "")
    fun gitFullPath() = "${gitUrl}/${gitNameSpace}/${name}.git"
}

data class GitlabProject(
    var id: Int,
    var name: String,
    var path_with_namespace: String
){
    constructor(name: String) : this(0, name, "")
}